//
//  HKNavigationBar.h
//  HKTimeKitApp
//
//  Created by huzhaoke1 on 2023/5/10.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@protocol HKNavigationBarDelegate <NSObject>

- (void)didTapBack;

@end

@interface HKNavigationBar : UIView

@property (nonatomic, weak) id<HKNavigationBarDelegate> delegate;

+ (CGFloat)naviBarHeight;
- (void)updateBackImageName:(NSString *)imageName;
- (void)updateTitle:(NSString *)title;
- (void)updateTitleColor:(UIColor *)titleColor;
- (void)updateGradienColorFromColor:(UIColor *)fromColor toColor:(UIColor *)toColor;
- (void)updateHiddenBackButton:(BOOL)hidden;
- (void)updateBackgroundColor:(UIColor *)backgroundColor;

@end

NS_ASSUME_NONNULL_END
